package com.bye.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("menu_role")
public class MenuDto {
    private Integer id;

    private String menuName;
    private Integer parentId;
    private String url;

    @TableField(exist = false)
    private List<MenuDto> subMenuList;
}
